.desk_mer_todolist_wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  // align-items: flex-start;
  align-items: center;
  background: none;
  .grid-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    letter-spacing: 1px;
    height: 50px;
    line-height: 50px;
    flex-shrink: 0;
  }
  .grid-main-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* unconventional, modern, comfortable layout */
    .todo-card-list {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: flex-end;
      gap: 0px;
      width: auto;
      min-width: 0;
      position: relative;
      /* slight overlap for a masonry effect */
    }
    .todo-card {
      background: rgba(255, 255, 255, 0.72);
      border-radius: 18px;
      box-shadow: 0 6px 32px 0 rgba(48, 86, 227, 0.1), 0 1.5px 8px 0 rgba(0, 0, 0, 0.04);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 18px 28px 14px 28px;
      min-width: 110px;
      min-height: 80px;
      margin-left: -18px;
      /* staggered effect */
      position: relative;
      z-index: 1;
      transition: box-shadow 0.22s, transform 0.22s, z-index 0.22s;
      cursor: pointer;
      backdrop-filter: blur(6px);
      border: 1.5px solid rgba(200, 210, 255, 0.13);
      &:hover {
        box-shadow: 0 12px 36px 0 rgba(48, 86, 227, 0.16), 0 2px 12px 0 rgba(0, 0, 0, 0.08);
        transform: translateY(-8px) scale(1.06) rotate(-2deg);
        z-index: 2;
      }
    }
    .todo-card:first-child {
      margin-left: 0;
    }
    .todo-card:nth-child(2n) {
      margin-bottom: 12px;
      /* create a staggered effect */
    }
    .todo-card-title {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 6px;
      color: #2d3559;
      letter-spacing: 0.2px;
      line-height: 1.2;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      width: 100%;
      user-select: none;
      text-align: center;
    }
    .todo-card-number {
      font-size: 30px;
      font-weight: 700;
      color: #2d3559;
      line-height: 1.1;
      margin-top: 2px;
      letter-spacing: 1.2px;
      user-select: none;
      width: 100%;
      text-align: center;
      text-shadow: 0 1px 0 #f3f8ff;
    }
  }
}

// Hide scroll bar for Chrome, Safari and Opera
.desk_mer_todolist_wrap .todo-card-list::-webkit-scrollbar {
  display: none;
}
